home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_gimp / INCLUDE / GCK / GCKMATH.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  2KB  |  40 lines

  1. /***************************************************************************/
  2. /* GCK - The General Convenience Kit. Generally useful conveniece routines */
  3. /* for GIMP plug-in writers and users of the GDK/GTK libraries.            */
  4. /* Copyright (C) 1996 Tom Bech                                             */
  5. /*                                                                         */
  6. /* This program is free software; you can redistribute it and/or modify    */
  7. /* it under the terms of the GNU General Public License as published by    */
  8. /* the Free Software Foundation; either version 2 of the License, or       */
  9. /* (at your option) any later version.                                     */
  10. /*                                                                         */
  11. /* This program is distributed in the hope that it will be useful,         */
  12. /* but WITHOUT ANY WARRANTY; without even the implied warranty of          */
  13. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           */
  14. /* GNU General Public License for more details.                            */
  15. /*                                                                         */
  16. /* You should have received a copy of the GNU General Public License       */
  17. /* along with this program; if not, write to the Free Software             */
  18. /* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,   */
  19. /* USA.                                                                    */
  20. /***************************************************************************/
  21.  
  22. #ifndef __GCKMATH_H__
  23. #define __GCKMATH_H__
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28.  
  29. double gck_deg_to_rad(double angle);
  30. double gck_rad_to_deg(double angle);
  31. void   gck_mat_to_deg(double mat[4][4],double *a,double *b,double *c);
  32.  
  33. int    gck_clip_line(double *x1,double *y1,double *x2,double *y2,
  34.                      double minx,double miny,double maxx,double maxy);
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38.  
  39. #endif
  40.